package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Comment;
import cn.wolfcode.trip.base.domain.CommentOfComment;
import cn.wolfcode.trip.base.query.CommentQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICommentService {
    void save(Comment comment,String imgUrl);

    PageInfo selectStrategyByStrategyId(QueryObject qo);

    Comment selectById(Long id);

    void saveCommentOfComment(CommentOfComment commentOfComment);

    PageInfo selectCommentOfCommentByCommentId(QueryObject qo);

    PageInfo selectByUserId(CommentQueryObject qo);
}
